package com.study.manage.dal;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.study.manage.domain.Verify;
import com.study.manage.domain.enumm.VerifyState;
import com.study.manage.domain.enumm.VerifyType;

public interface VerifyRepository extends PagingAndSortingRepository<Verify, Long> {

    Verify findByUserIdAndTypeAndState(Long userId, VerifyType type, VerifyState state);

}
